.layout-nav-bar-tag-view {
  background-color: var(--el-color-white);
  border-bottom: 1px solid var(--next-border-color-light);
  position: relative;
  z-index: 2;

  :deep(.el-scrollbar__wrap) {
    overflow-x: auto !important;
  }

  &-ul {
    list-style: none;
    margin: 0;
    height: 34px;
    display: flex;
    align-items: center;
    color: var(--el-text-color-regular);
    font-size: 12px;
    white-space: nowrap;
    padding: 0 10px;

    &-li {
      height: 26px;
      line-height: 26px;
      display: flex;
      align-items: center;
      padding: 0 15px;
      margin-right: 5px;
      border-radius: 2px;
      position: relative;
      z-index: 0;
      cursor: pointer;
      justify-content: space-between;

      &.is-active {
        color: var(--el-color-primary);
      }

      &-iconfont {
        position: relative;
        left: -5px;
        font-size: 16px;
      }

      &-icon {
        border-radius: 100%;
        position: relative;
        height: 14px;
        width: 14px;
        text-align: center;
        line-height: 14px;
        right: -5px;

        &:hover {
          color: var(--el-color-white);
          background-color: var(--el-color-primary-light-3);
        }
      }
    }
  }

  /**
  风格1
   */
  .tags-style-one {
    .layout-nav-bar-tag-view-ul-li {
      border: 1px solid var(--el-border-color-lighter);

      &.is-active {
        color: var(--el-color-white);
        background: var(--el-color-primary);
        border-color: var(--el-color-primary);
        transition: border-color 3s ease;
      }

      &:not(.is-active):hover {
        background-color: var(--el-color-primary-light-9);
        color: var(--el-color-primary);
        border-color: var(--el-color-primary-light-5);
      }
    }
  }

  /**
  风格2
   */
  .tags-style-two {
    .layout-nav-bar-tag-view-ul-li {
      padding: 0 14px;
      overflow: hidden;
      border: none !important;
      height: 100% !important;

      &:before {
        content: '';
        position: absolute;
        left: 50%;
        bottom: 0;
        width: 0;
        height: 2px;
        background: var(--el-color-primary);
        transition: all ease-out 0.3s;
      }

      &:after {
        content: '';
        position: absolute;
        right: 50%;
        bottom: 0;
        width: 0;
        height: 2px;
        background: var(--el-color-primary);
        transition: all ease-out 0.2s;
      }

      &:not(.is-active):hover {
        color: var(--el-color-primary);

        &:before {
          width: 50%;
        }

        &:after {
          width: 50%;
        }
      }

      &.is-active {
        color: var(--el-color-primary);

        &:before {
          width: 50%;
        }

        &:after {
          width: 50%;
        }
      }
    }
  }

  /**
  风格3
   */
  .tags-style-three {
    .layout-nav-bar-tag-view-ul-li {
      overflow: hidden;

      &:before {
        content: '';
        position: absolute;
        left: 0;
        top: 0;
        bottom: 0;
        width: 0;
        background: var(--el-color-primary);
        transition: width ease-out 0.2s;
      }

      &:not(.is-active):hover {
        color: var(--el-color-primary);

        &:before {
          width: 6px;
        }
      }

      &.is-active {
        border-color: var(--el-color-primary);
        color: var(--el-color-primary);

        &:before {
          width: 6px;
        }
      }
    }
  }

  /**
  风格4
  */
  .tags-style-four {
    .layout-nav-bar-tag-view-ul-li {
      padding: 0 14px;
      overflow: hidden;
      transition: all ease-in-out 0.2s;

      &:before {
        content: '';
        position: absolute;
        left: 0;
        bottom: 0;
        right: 0;
        height: 0;
        z-index: -1;
        transition: all ease-out 0.2s;
        background: var(--el-color-primary);
      }

      &:not(.is-active):hover {
        color: white;

        &:before {
          height: 100%;
        }
      }

      &.is-active {
        color: white;

        &:before {
          height: 100%;
        }
      }
    }
  }

  /*
  风格5
   */
  .tags-style-five {
    align-items: flex-end;

    .tags-style-five-svg {
      -webkit-mask-image: url(''),
        url(''),
        url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg'><rect rx='8' width='100%' height='100%' fill='%23F8EAE7'/></svg>");
      -webkit-mask-size:
        18px 30px,
        20px 30px,
        calc(100% - 30px) calc(100% + 17px);
      -webkit-mask-position:
        right bottom,
        left bottom,
        center top;
      -webkit-mask-repeat: no-repeat;
    }

    .layout-nav-bar-tag-view-ul-li {
      padding: 0 5px;
      border-width: 15px 27px 15px;
      border-style: solid;
      border-color: transparent;
      margin: 0 -15px;

      //.layout-icon-active,
      //.layout-nav-bar-tag-view-ul-li-iconfont,
      //.layout-nav-bar-tag-view-ul-li-refresh {
      //  display: none;
      //}

      .layout-icon-three {
        display: block;
      }

      &:hover {
        @extend .tags-style-five-svg;
        background: var(--el-color-primary-light-9);
        color: unset;
      }
    }

    .is-active {
      @extend .tags-style-five-svg;
      background: var(--el-color-primary-light-9) !important;
      color: var(--el-color-primary) !important;
      z-index: 1;
    }
  }

  /**
  风格6
   */
  .tags-style-six {
    .layout-nav-bar-tag-view-ul-li {
      display: flex;
      align-items: center;
      padding: 0 5px;
      border: none !important;
      margin-left: 7px !important;
      margin-right: 7px !important;
      height: calc(100% - 7px) !important;
      background-color: var(--el-border-color-extra-light);
      margin-top: 7px;

      &:before {
        content: '';
        position: absolute;
        right: -17px;
        top: 10px;
        width: 40px;
        height: 100%;
        transform: rotate(65deg);
        z-index: -1;
        background-color: var(--el-border-color-extra-light);
      }

      &:after {
        content: '';
        position: absolute;
        left: -17px;
        top: 10px;
        width: 40px;
        height: 100%;
        transform: rotate(-65deg);
        z-index: -1;
        background-color: var(--el-border-color-extra-light);
      }

      &:not(.is-active):hover {
        background-color: var(--el-color-primary-light-7);
        z-index: 1;

        &:before {
          height: 100%;
          background-color: var(--el-color-primary-light-7);
        }

        &:after {
          height: 100%;
          background-color: var(--el-color-primary-light-7);
        }
      }

      &.is-active {
        background-color: var(--el-color-primary);
        color: white;
        z-index: 1;

        &:before {
          height: 100%;
          background-color: var(--el-color-primary);
        }

        &:after {
          height: 100%;
          background-color: var(--el-color-primary);
        }
      }
    }
  }

  /**
  风格7
   */
  .tags-style-seven {
    .layout-nav-bar-tag-view-ul-li {
      overflow: hidden;
      border-radius: 13px;

      &:before {
        content: '';
        position: absolute;
        left: 50%;
        top: 50%;
        width: 0;
        height: 0;
        border-radius: 50%;
        transform: translateX(-50%) translateY(-50%);
        transition: all ease-out 0.3s;
        z-index: -1;
      }

      &:hover {
        color: white;

        &:before {
          width: 200px;
          height: 200px;
          background-color: var(--el-color-primary);
        }
      }

      &.is-active {
        color: white;

        &:before {
          width: 200px;
          height: 200px;
          background-color: var(--el-color-primary);
        }
      }
    }
  }

  /**
  风格8
   */
  .tags-style-eight {
    .layout-nav-bar-tag-view-ul-li {
      margin-left: 5px;
      border: 1px solid var(--el-border-color) !important;
      border-radius: 5px 0 5px 0;

      &:before {
        position: absolute;
        content: '';
        left: -2px;
        top: -2px;
        width: 0;
        height: 0;
        border-color: transparent;
        border-style: solid;
        transition: all ease-out 0.3s;
        border-bottom: 3px;
        border-right: 3px;
        border-radius: 5px 0 0 0;
      }

      &:after {
        position: absolute;
        content: '';
        right: -2px;
        bottom: -2px;
        width: 0;
        height: 0;
        border-color: transparent;
        border-style: solid;
        transition: all ease-out 0.3s;
        border-top: 3px;
        border-left: 3px;
        border-radius: 0 0 5px 0;
      }

      &:hover,
      &.is-active {
        border: 1px solid var(--el-color-primary) !important;
        color: var(--el-color-primary);

        &:before {
          width: 14px;
          height: 14px;
          border-color: var(--el-color-primary);
        }

        &:after {
          width: 14px;
          height: 14px;
          border-color: var(--el-color-primary);
        }
      }
    }
  }

  /**
  风格9
  */
  .tags-style-nine {
    .layout-nav-bar-tag-view-ul-li {
      padding: 0 10px;
      margin-right: 0;
    }
  }
}

.layout-nav-bar-tag-view-shadow {
  box-shadow: rgb(0 21 41 / 4%) 0 1px 4px;
}
